home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9465 < prev    next >
Encoding:
Text File  |  1996-08-05  |  755 b   |  31 lines

  1. Path: maze.dpo.uab.edu!usenet
  2. From: Hunter Moseley <hunter@mozart.nmrcore.uab.edu>
  3. Newsgroups: comp.lang.c++,comp.sys.sgi.misc
  4. Subject: What is the best way to initialize static template members?
  5. Date: Fri, 01 Mar 1996 18:44:31 -0600
  6. Organization: University of Alabama at Birmingham
  7. Message-ID: <313799EF.41C6@mozart.nmrcore.uab.edu>
  8. NNTP-Posting-Host: 138.26.34.102
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP12)
  13.  
  14. What is the best way to initialize static template members?
  15.  
  16. Example:
  17.  
  18. template<class T>
  19. class X
  20.   {
  21.   private :
  22.     static int min_buff_size;
  23.   ...
  24.   };
  25.  
  26. What is the best way to initialize min_buff_size for a given
  27. X<T> class?
  28.  
  29. take care,
  30. Hunter
  31.